package org.convallaria.framework.common.exception;

/**
 * 异常常量类
 * 
 * @author convallaria
 * @since 1.0.0
 */
public final class ExceptionConstants {
    
    private ExceptionConstants() {}
    
    // 用户相关异常
    public static final String USER_NOT_FOUND = "用户不存在";
    public static final String USER_DISABLED = "用户已被禁用";
    public static final String PASSWORD_ERROR = "用户账号或密码错误";
    public static final String USERNAME_EXISTS = "用户名已存在";
    
    // 认证相关异常
    public static final String TOKEN_INVALID = "Token无效";
    public static final String TOKEN_EXPIRED = "Token已过期";
    public static final String LOGIN_FAILED = "登录失败";
    
    // 权限相关异常
    public static final String PERMISSION_DENIED = "权限不足";
    public static final String ROLE_NOT_FOUND = "角色不存在";
    
    // 系统相关异常
    public static final String SYSTEM_ERROR = "系统异常";
    public static final String DATABASE_ERROR = "数据库异常";
    public static final String CACHE_ERROR = "缓存异常";
}
